package assignment.jaxb;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author $Author:$
 * @version $Id: $
 */
@XmlRootElement(name="cards")
public class Cards {
	private List<Card> cards = new ArrayList<Card>();

	@XmlElement(name="card")
	public List<Card> getCards() {
		return cards;
	}

	public void setCards(List<Card> cards) {
		this.cards = cards;
	}

	// Add a new graphic card to the list
	public void add(Card graphicCard) {
		this.cards.add(graphicCard);
	}
}
